home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
HPAVC
/
HPAVC CD-ROM.iso
/
VIG-PV12.ZIP
/
INFOHUNT.PPS
< prev
next >
Wrap
Text File
|
1994-07-07
|
2KB
|
59 lines
boolean found
boolean getout
integer x
string filename
string tempstring
startdisp fns
while (!getout) do
filename=""
newlines 2
println "@X08InfoHunt for ProVote by ViGilante [PWA]"
input "@X07Search Infoforms for what user (CR to quit): _",filename
filename=upper(filename)
newline
if (filename<>"") then
if (u_recnum(filename)<1) then
println filename+" is not a user here, standby for infoforms.."
wait
endif
found=false
tempstring=""
for x=1 to len(filename)
if (instr(mask_pwd(),mid(filename,x,1))>0&instr(chr(34)+" +,/;<>=|*%.:\^`?",mid(filename,x,1))=0) then
tempstring=tempstring+mid(filename,x,1)
if (len(tempstring)=8) x=len(filename)
endif
next
if (tempstring="") then
beep
else
filename=tempstring
for x=1 to readline(ppepath()+"provote.cnf",13)+1
if (exist(ppepath()+"save\"+filename+"."+string(x))) then
found=true
dispfile ppepath()+"save\"+filename+"."+string(x) ,0
ansipos 1,23
wait
endif
next
for x=1 to readline(ppepath()+"provote.cnf",13)+1
if (exist(ppepath()+"gone\"+filename+"."+string(x))) then
found=true
dispfile ppepath()+"gone\"+filename+"."+string(x) ,0
ansipos 1,23
wait
endif
next
fclose -1
endif
if (!found) println "@X0CNot found."
else
getout=true
endif
endwhile
newlines 2
startdisp fcl